﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class pages_Enrol_Default6 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            txtID.Attributes["onkeyup"] = "value=value.replace(/[^\\d]/g,'')";
            this.Label1.Text = DB.TYPE_SECTION;
        }

    }
    protected void btnOK_Click(object sender, EventArgs e)
    {
        DataSet ds = DB.reDs("select * from tb_Payment where ID='" +this.txtID.Text.Trim() + "'");
        this.GridView1.DataSource = ds;
        this.GridView1.DataBind();
    }
}
